<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

/*Route::get('/', function () {
    return view('welcome');
});*/

Auth::routes();

Route::get('/', 'HomeController@index')->name('home');

Route::get('/about', 'HomeController@about');

Route::get('/contact', 'HomeController@contact');

# 新闻
Route::get('/news', 'NewsController@index');

Route::get('/news/show/{news}', 'NewsController@show')->name('news.show');

#团队
Route::get('/team', 'CompanyController@team')->name('team.index');
Route::get('/team/show/{team}', 'CompanyController@show')->name('team.show');

Route::get('/invest', 'CompanyController@invest');
